package com.n3wax.automation.security.isy;

import com.n3wax.automation.security.AlarmConstants;
import com.n3wax.automation.security.ademco.ad2usb.AD2USBController;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.handler.AbstractHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: HP_Administrator
 * Date: 11/17/11
 * Time: 12:52 PM
 * To change this template use File | Settings | File Templates.
 */
public class IsyHandler extends AbstractHandler implements AlarmConstants {

    AD2USBController control;

    public IsyHandler(AD2USBController controller) {
        control = controller;
    }

    public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)
            throws IOException, ServletException {
        //put code here for ISY to control alarm
}
}
